package com.ruoyi.maode.domain.dto;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.maode.domain.vo.ImageDetailVO;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 新增产品类
 *
 * @author zhangwenqiang
 */
@Data
public class AddPartDTO implements Serializable {

    @Excel(name = "id")
    private Long id;

    @Excel(name = "零件编码")
    private String partCode;

    @Excel(name = "零件名称")
    private String partName;

    @Excel(name = "机型")
    private String model;

    @Excel(name = "零件重量")
    private String partWeight;

    @Excel(name = "零件类型,0-毛坯，1-成品")
    private Integer type;

    @Excel(name = "零件描述")
    private String partDescription;

    @Excel(name = "文件名称")
    private String fileName;

    @Excel(name = "文件路径")
    private String filePath;

    @Excel(name = "图片")
    private List<ImageDetailVO> images;

    @Excel(name = "是否更新图片,0-否，1-是")
    private String isEditImg;

    @Excel(name = "是否更新文件,0-否，1-是")
    private String isEditFile;
}
